DocumentReplace(Image, String, Byte) Method
Replaces the image of the specified image element. The size, the position and
all other properties of the frame remain unchanged.
Namespace: Independentsoft.Office.OdfAssembly: Independentsoft.Calc (in Independentsoft.Calc.dll) Version: 3.0.520.1+c6c593d5629a051e0af021b238c5d69d764f9686
public bool Replace(
Image image,
string fileName,
byte[] buffer
)
Public Function Replace (
image As Image,
fileName As String,
buffer As Byte()
) As Boolean
- image Image
- The image to replace.
- fileName String
- The file name of the new image.
- buffer Byte
- The new image.
Booleantrue if the image was replaced.